<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/white/common/taglibs.jsp"%>
<%@include file="/white/common/common.jsp"%>

<body>
	<div id="div_title">
		<h3>
			(HtmlTemplate)新增
		</h3>
	</div>

	<!-- Data Form -->
	<%@include file="/white/common/message.jsp"%>
	<s:form method="post" action="htmlTemplateAction!save" theme="simple">
		<s:token />

		<table cellpadding="0" cellspacing="0" class="t_form">
			<tr>
				<td width="15%">
					HtmlTemplateId:
				</td>
				<td>
					${htmlTemplate.htmlTemplateId}
				</td>
			</tr>
			<tr>
				<td width="15%">
					ResourceId:
				</td>
				<td>
					<s:textfield name="htmlTemplate.resourceId" maxlength="15" />
				</td>
			</tr>
			<tr>
				<td width="15%">
					CreateTime:
				</td>
				<td>
					<s:textfield name="htmlTemplate.createTime" label="日期"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd', minDate:'1900-01-01',maxDate:''})"></s:textfield>
				</td>
			</tr>
			<tr>
				<td width="15%">
					CreateUser:
				</td>
				<td>
					<s:textfield name="htmlTemplate.createUser" maxlength="15" />
				</td>
			</tr>
			<tr>
				<td width="15%">
					LastUpdateTime:
				</td>
				<td>
					<s:textfield name="htmlTemplate.lastUpdateTime" label="日期"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd', minDate:'1900-01-01',maxDate:''})"></s:textfield>
				</td>
			</tr>
			<tr>
				<td width="15%">
					LastUpdateUser:
				</td>
				<td>
					<s:textfield name="htmlTemplate.lastUpdateUser" maxlength="15" />
				</td>
			</tr>
			<tr>
				<td width="15%">
					Name:
				</td>
				<td>
					<s:textfield name="htmlTemplate.name" maxlength="15" />
					<span class="red_star">*</span>
				</td>
			</tr>
			<tr>
				<td width="15%">
					Type:
				</td>
				<td>
					<s:textfield name="htmlTemplate.type" maxlength="15" />
					<span class="red_star">*</span>
				</td>
			</tr>
			<tr>
				<td width="15%">
					Status:
				</td>
				<td>
					<s:textfield name="htmlTemplate.status" maxlength="15" />
					<span class="red_star">*</span>
				</td>
			</tr>
		</table>

		<div id="div_button">

			<s:submit key="添加" action="htmlTemplateAction!save"
				onclick="if(validateForm()){return true;}else{return false;}"
				cssClass="input_button" />
			<s:submit key="返回"
				onclick="form.action='htmlTemplateAction!queryByPage.action';return true;"
				cssClass="input_button" />
		</div>

		<s:hidden name="searchString" />

	</s:form>
	<!--Data Form End -->

</body>

</html>